.app {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 80px;
}

/* 轮播图横幅 */
.bannerSection {
  margin-top: 100px;
  margin-bottom: 20px;
}

.bannerSlide {
  height: 160px;
  border-radius: 12px;
  margin: 0 16px;
  overflow: hidden;
}

.bannerContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  color: white;
}

.bannerText h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.bannerIllustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.doctorIcon {
  font-size: 40px;
}

.medicalItems {
  display: flex;
  gap: 8px;
  font-size: 24px;
}

/* 主要功能按钮 */
.mainActions {
  padding: 0 16px;
  margin-bottom: 20px;
}

.actionRow {
  display: flex;
  gap: 12px;
}

.actionBtn {
  flex: 1;
  height: 80px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.registration {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.payment {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btnContent {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.btnIcon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 20px;
}

.btnText {
  text-align: left;
}

.btnTitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.btnSubtitle {
  font-size: 12px;
  opacity: 0.9;
}

/* 滚动公告栏 */
.announcement {
  display: flex;
  align-items: center;
  background: white;
  margin: 0 16px 20px;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.announcementLabel {
  background: #007bff;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 12px;
  white-space: nowrap;
}

.announcementContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.announcementText {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #666;
  font-size: 14px;
}

.arrow {
  color: #999;
  margin-left: 8px;
}

/* 服务导航标签 */
.serviceTabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px 20px;
}

.customTabs {
  flex: 1;
}

.moreLink {
  color: #007bff;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 16px;
  background: #f0f8ff;
  white-space: nowrap;
}

/* 服务网格 */
.serviceGrid {
  padding: 0 16px;
  margin-bottom: 20px;
}

/* 个性化状态 chips */
.statusChips {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.statusChip {
  background: #fff7e6;
  color: #ad6800;
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  cursor: pointer;
}

.serviceItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.serviceItem:hover {
  transform: translateY(-2px);
}

.serviceIcon {
  font-size: 24px;
  margin-bottom: 8px;
}

.serviceText {
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* 智能客服浮动按钮 */
.floatingService {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
}

.serviceBtn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #007bff;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.serviceLabel {
  font-size: 10px;
  margin-top: 2px;
  font-size: 9px;
}

/* 健康资讯 */
.healthInfo {
  padding: 0 16px;
  margin-bottom: 20px;
}

.infoHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.infoHeader h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.moreBtn {
  color: #007bff;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 16px;
  background: #f0f8ff;
}

.infoCard {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

/* Vertical list spacing already handled by card margin */

.infoContent {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.infoTitle {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin-right: 12px;
}

.infoImage {
  width: 60px;
  height: 60px;
  background: #e3f2fd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.infoFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.infoTag {
  color: #007bff;
  font-size: 12px;
  background: #f0f8ff;
  padding: 4px 8px;
  border-radius: 12px;
}

.infoStats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999;
}

.infoStats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .bannerSlide {
    height: 140px;
  }
  
  .bannerText h1 {
    font-size: 20px;
  }
  
  .actionBtn {
    height: 70px;
  }
  
  .btnTitle {
    font-size: 14px;
  }
  
  .serviceIcon {
    font-size: 20px;
  }
  
  .serviceText {
    font-size: 11px;
  }
}

/* React Native 组件区域 */
.reactNativeSection {
  padding: 0 16px;
  margin-bottom: 20px;
}

.rnHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.rnHeader h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* 列表底部状态文案 */
.listFooter {
  color: #999;
  text-align: center;
  font-size: 12px;
  padding: 8px 0 12px;
}
